package com.zcf.pojo;

import java.io.Serializable;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;

public class RechargeRecord extends Model<RechargeRecord> {

	private static final long serialVersionUID = 1L;

	/**
	 * p2_ordernumber, String , String , String , String
	 */
	@TableId(value = "p2_ordernumber")
	private String p2_ordernumber;// 用户订单号
	private String userid;// 用户id
	private String p7_productcode;// 终端支付方式，固定值“ZFB”。
	private String money;// 金额
	private String p3_money;// 订单金额
	private String createtime;
	private int start;

	public RechargeRecord(String p2_ordernumber) {
		this.p2_ordernumber = p2_ordernumber;
	}

	public RechargeRecord(String p2_ordernumber, String userid, String p7_productcode, String money, String p3_money,
			int start, String createtime) {
		this.p2_ordernumber = p2_ordernumber;
		this.userid = userid;
		this.p7_productcode = p7_productcode;
		this.money = money;
		this.p3_money = p3_money;
		this.start = start;
		this.createtime = createtime;
	}

	public String getP2_ordernumber() {
		return p2_ordernumber;
	}

	public void setP2_ordernumber(String p2_ordernumber) {
		this.p2_ordernumber = p2_ordernumber;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getP7_productcode() {
		return p7_productcode;
	}

	public void setP7_productcode(String p7_productcode) {
		this.p7_productcode = p7_productcode;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getP3_money() {
		return p3_money;
	}

	public void setP3_money(String p3_money) {
		this.p3_money = p3_money;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return null;
	}

	public static void main(String[] args) {
		String a = "192.168.0.253".replace(".", "_");
		System.out.println(a); // 输出已经格式化的现在时间（24小时制）

	}

}
